package dayOOP0718;

public class Test5 {
    public static void main(String[] args) {
        System.out.println(1);
        test1();
        System.out.println(2);
    }

    private static void test1() {
        int i=2;
        if(i!=123){
            throw  new RuntimeException("出异常了");
        }
    }
}